package com.wolfstreet.wsonline.http;

/**
 * 参数
 * 
 * @author yjm 2014-11-27
 */
public class HttpParam {

	public static int RESPON_SUCCESS = 200;

	public static int RESPON_BAD_ID = -1;

	public static String goodsUrl = "http://www.kaicheba.com/H5/index.html?sellComId=";

	public static String shopUrl = "http://www.kaicheba.com/H5/shopHomePage.html?sellerId=";

//	 /**
//	 * 杨过钰 mmc
//	 */
//	 private static final String ADDRESS = "http://192.168.1.225:8080/";
//	
//	 /**
//	 * 王海洋 finance
//	 */
//	 private static final String ADDRESS2 = "http://192.168.1.225:8080/";
//	
//	 /**
//	 * 张威product
//	 */
//	 private static final String ADDRESS3 = "http://192.168.1.225:8080/";

	/**
	 * 杨过钰 mmc
	 * 
	 */
	private static final String ADDRESS = "https://121.43.176.18:8222/";

	/**
	 * 王海洋 finance
	 */
	private static final String ADDRESS2 = "https://121.43.176.18:8111/";

	/**
	 * 张威product
	 */
	private static final String ADDRESS3 = "https://121.43.176.18:8333/";

	/**
	 * HTTP请求的路径 相关常量信息
	 * 
	 * @author Administrator
	 */
	public static class URL {

		// 注册
		public static String REGISTER = ADDRESS + "mmc/seller/regist";
		// 登陆
		public static String LOGIN = ADDRESS + "mmc/seller/login";
		// 发送验证码
		public static String SEND_CODE = ADDRESS
				+ "mmc/seller/sendCodeByRegistSeller";
		// 获取个人信息
		public static String GET_USER_INFO = ADDRESS + "mmc/seller/getById";
		// 修改密码
		public static String UPDATE_PWD = ADDRESS + "mmc/seller/updatePwdAuth";
		// 修改个人信息
		public static String UPDATE_INFO = ADDRESS
				+ "mmc/seller/updateSellerAuth";
		// 上传图片
		public static String UPLOAD_IMG = ADDRESS + "mmc/common/image/put";
		// 忘记密码
		public static String FORGET_PWD = ADDRESS
				+ "mmc/seller/sendCodeByforgetSellerPwd";
		// 忘记密码1
		public static String FORGET_PWD1 = ADDRESS
				+ "mmc/seller/updatePasswordByCode";
		// 获取订单列表
		public static String GET_ORDER_LIST = ADDRESS2 + "finance/orders";
		// 获取订单列表
		public static String GET_ORDER_LIST1 = ADDRESS2 + "finance/orders";
		// 获取订单列表
		public static String GET_ORDER_LIST2 = ADDRESS2 + "finance/orders";
		// 获取首页营业额
		public static String GET_TOP_SUM = ADDRESS
				+ "mmc/seller/getDateMonthSumAuth";
		// 获取市场选货首页banner
		public static String GET_BANNER = ADDRESS3 + "product/banner/list";
		// 获取市场选货首页商品列表
		public static String GET_CHOOSE_LIST = ADDRESS3
				+ "product/productrest/getPrdGroupByTypeAuth";
		// 根据类别获取商品列表
		public static String GET_CHOOSE_LIST_BYTYPE = ADDRESS3
				+ "product/productrest/getPrListByTypeAuth";
		// 获取收藏夹列表
		public static String GET_STORE_LIST = ADDRESS
				+ "mmc/seller/getCollectAuth";
		// 收藏
		public static String ADD_STORE = ADDRESS + "mmc/seller/addCollectAuth";
		// 取消收藏
		public static String DEL_STORE = ADDRESS + "mmc/seller/delCollectAuth";
		// 商品管理中的商品列表
		public static String GET_GOODS_LIST = ADDRESS
				+ "mmc/seller/getShelvesGoodsAuth";
		// 商品管理中的商品列表
		public static String GET_GOODS_LIST1 = ADDRESS
				+ "mmc/seller/getShelvesGoodsAuth";
		// 获取商品详情
		public static String GET_GOODS_INFO = ADDRESS
				+ "mmc/seller/getVendorsProductForPutaway";
		// 获取商品参数详情
		public static String GET_GOODS_PARAM = ADDRESS3
				+ "product/productrest/getVendorGoodsAttrs";
		// 上下架
		public static String UP_AND_DOWN = ADDRESS
				+ "mmc/seller/changeStatusAuth";
		// 收入明细
		public static String GET_ACCOUNT_INFO = ADDRESS2
				+ "finance/orders/details/listAuth";
		// 收入明细
		public static String GET_ACCOUNT_INFO1 = ADDRESS2
				+ "finance/orders/details/listAuth";
		// 收入明细
		public static String GET_ACCOUNT_INFO2 = ADDRESS2
				+ "finance/orders/details/listAuth";
		// 获取sk
		public static String GET_SKU = ADDRESS
				+ "mmc/seller/getProductSkuForEditPrice";
		// 上架
		public static String UP_FRAME = ADDRESS + "mmc/seller/addToShelvesAuth";
		// 上下架 上架仅用于商品管理
		public static String DOWN_FRAME = ADDRESS
				+ "mmc/seller/changeStatusAuth";
		// 置顶
		public static String SET_TOP = ADDRESS + "mmc/seller/updateShelvesTop";
		// 设置改价格
		public static String SET_SKU = ADDRESS + "mmc/seller/modGoodsPriceAuth";
		// 修改手机号验证码
		public static String CHANGE_TEL_CODE = ADDRESS
				+ "mmc/seller/sendCodeByupdateSellerPhone";
		// 获取消息列表
		public static String GET_MESSAGE = ADDRESS + "mmc/seller/jpushList";
		// 微信登录 绑定手机号
		public static String LOCK_TEL = ADDRESS + "mmc/seller/registWxTel";
		// 设置真实姓名
		public static String SET_REAL_NAME = ADDRESS
				+ "mmc/seller/updateRealNameAuth";
		// 提现
		public static String GET_MONEY = ADDRESS
				+ "mmc/seller/withdrawAuth";
		// 判断是否已设置支付密码
		public static String IS_HAVE_PWD = ADDRESS
				+ "mmc/seller/getWithdrawFlagAuth";
		// 设置支付密码
		public static String SET_PAY_PWD = ADDRESS
				+ "mmc/seller/updateWithdrawPassAuth";
	}

	/**
	 * HTTP请求的ID 相关常量信息
	 * 
	 * @author Administrator
	 */
	public static class ID {

		// 注册
		public final static int REGISTER = 1;
		// 登陆
		public final static int LOGIN = 2;
		// 发送验证码
		public final static int SEND_CODE = 3;
		// 获取个人信息
		public final static int GET_USER_INFO = 4;
		// 修改密码
		public final static int UPDATE_PWD = 5;
		// 修改个人信息
		public final static int UPDATE_INFO = 6;
		// 上传图片
		public final static int UPLOAD_IMG = 7;
		// 忘记密码
		public final static int FORGET_PWD = 8;
		// 忘记密码1
		public final static int FORGET_PWD1 = 9;
		// 获取订单列表
		public final static int GET_ORDER_LIST = 10;
		// 获取订单列表
		public final static int GET_ORDER_LIST1 = 11;
		// 获取订单列表
		public final static int GET_ORDER_LIST2 = 12;
		// 获取首页营业额
		public final static int GET_TOP_SUM = 13;
		// 获取市场选货首页banner
		public final static int GET_BANNER = 14;
		// 获取市场选货首页商品列表
		public final static int GET_CHOOSE_LIST = 15;
		// 根据类别获取商品列表
		public final static int GET_CHOOSE_LIST_BYTYPE = 16;
		// 获取收藏夹列表
		public final static int GET_STORE_LIST = 17;
		// 收藏
		public final static int ADD_STORE = 18;
		// 取消收藏
		public final static int DEL_STORE = 19;
		// 商品管理中的商品列表
		public final static int GET_GOODS_LIST = 20;
		// 商品管理中的商品列表1
		public final static int GET_GOODS_LIST1 = 21;
		// 获取商品详情
		public final static int GET_GOODS_INFO = 22;
		// 获取商品参数详情
		public final static int GET_GOODS_PARAM = 23;
		// 上下架
		public final static int UP_AND_DOWN = 24;
		// 收入明细
		public final static int GET_ACCOUNT_INFO = 25;
		// 收入明细
		public final static int GET_ACCOUNT_INFO1 = 26;
		// 收入明细
		public final static int GET_ACCOUNT_INFO2 = 27;
		// 获取sku
		public final static int GET_SKU = 28;
		// 上架
		public final static int UP_FRAME = 29;
		// 上下架 上架仅用于商品管理
		public final static int DOWN_FRAME = 30;
		// 置顶
		public final static int SET_TOP = 31;
		// 设置改价格
		public final static int SET_SKU = 32;
		// 修改手机号验证码
		public final static int CHANGE_TEL_CODE = 33;
		// 获取消息列表
		public final static int GET_MESSAGE = 34;
		// 微信登录 绑定手机号
		public final static int LOCK_TEL = 35;
		// 设置真实姓名
		public final static int SET_REAL_NAME = 36;
		// 提现
		public final static int GET_MONEY = 37;
		// 判断是否已设置支付密码
		public final static int IS_HAVE_PWD = 38;
		// 设置支付密码
		public final static int SET_PAY_PWD = 39;
	}

}
